package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.factory.RemoteUserFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: 鑫仔
 * @Date: 2025/8/9 12:51
 * @Description:
 **/
@FeignClient(contextId = "remoteProdService", value = ServiceNameConstants.PROD_SERVICE, fallbackFactory = RemoteUserFallbackFactory.class)

public interface RemoteProdService {

    @PostMapping("/prod/syncProdEs")
    public AjaxResult syncProdEs();
}
